﻿#ifndef CSERVER_H
#define CSERVER_H

#include <QObject>
#include <QLocalSocket>
#include <QLocalServer>

class CServer : public QObject
{
    Q_OBJECT

public:
    CServer();
    ~CServer();
    void RunServer();

private slots:
    void serverNewConnectionHandler();
    void socketReadyReadHandler();

private:
    QLocalServer *m_server;
};


#endif // CSERVER_H
